import http from '@/common/utils/request.js'

export const shop = {
	//获取列表
	getShopForCList(data){
		return http.get('/merchant/shopForC/', {params:data, custom:{}})
	},
	//获取详情
	getItemById(data){
		return http.post('/merchant/shopForC/getItemById/', data, {custom:{}})
	},
	//创建
	createShop(data){
		return http.post('/merchant/shop/createAction/', data, {custom:{}})
	},
	//新增
	updateShop(data){
		return http.post('/merchant/shopForC/updateAction/', data, {custom:{}})
	},
	//商家入驻
	shopCheckin(data){
		return http.post('/merchant/shopForC/shopCheckin/', data, {custom:{}})
	},
	//获取商家信息
	getShopInfoForUserId(data){
		return http.post('/merchant/shopForC/getShopInfoForUserId/', data, {custom:{}})
	},
	
}